import Vue from 'vue'
import Router from 'vue-router'
import Vfor from '@/components/v-for'
import StudentInfo from '@/components/studentInfo'
import Search from '@/components/search'
import List from '@/components/demoList'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'lists',
      component: List
    },
    {
      path:'/vfor',
      name:'vfor',
      component:Vfor
    },
    {
      path:'/studentInfo',
      name:'studentinfo',
      component:StudentInfo
    },
    {
      path:'/search',
      name:'search',
      component:Search
    }
  ]
})
